<template>
 <div class="date-box">
	 <group>
		 <datetime
		          v-model="value1"
		 		 :clear-text="clearText"
				  :format="formatDate"
		          @on-change="change"></datetime>
	 </group>
 </div>
</template>

<script>
  export default {
    props: {
		clearText: '',
		formatDate: 'YYY-MM-DD',
    
	},
    data() {
      return {
        value1: ' '
      }
    },
    methods: {
      change(e) {
         this.$emit('input', e)
      }
    }
  }
</script>

<style lang="less" scoped>

</style>
